/* 
 * File:   Node.cpp
 * Author: reinhard
 * 
 * Created on 30. September 2011, 11:36
 */

#include "Graph.h"

Node::Node(int id_){
    id = id_;
    inEdges = new std::vector<Edge*>();
    outEdges = new std::vector<Edge*>();
}

Node::Node(const Node& orig) {
}

Node::~Node() {
}

void Node::addInEdge(Edge* edge){
    inEdges->push_back(edge);
}

void Node::addOutEdge(Edge* edge){
    outEdges->push_back(edge);
}
